package connect3.team7.game;


public class Token implements java.io.Serializable { 
    private static final long serialVersionUID = 228L;
    
    // member variables
    private int xCoord; 
    private int yCoord; 
    private String playerName;
    
    /** Creates a new instance of Token */
    public Token(int x, int y, String name) {
      this.xCoord = x;
      this.yCoord = y;
      this.playerName = name;
    }
    
    public int getX() {
        return xCoord; 
    }
    
    public int getY() {
        return yCoord; 
    }
    
    public void setY(int newY) { 
        yCoord = newY; 
    }
    
    public void setX(int newX) { 
        xCoord = newX; 
    }
    
    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String player_name) {
        playerName = player_name;
    }
}
